﻿<UserControl x:Class="ExampleSilverlightProject.Page"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:UI="clr-namespace:DanielVaughan.Logging.Silverlight.UI;assembly=DanielVaughan.Logging.Silverlight.UI" 
    Width="600" Height="700">
	<UserControl.Resources>
		<Style x:Key="LogButton" TargetType="Button">
			<Setter Property="Width" Value="100"/>
		</Style>
	</UserControl.Resources>
	
    <Grid x:Name="LayoutRoot" Background="White">
		<StackPanel>
			<Button x:Name="Button_LogDebug" Click="Button_LogDebug_Click" Content="Debug" Style="{StaticResource LogButton}"></Button>
			<Button x:Name="Button_LogInfo" Click="Button_LogInfo_Click" Content="Info" Style="{StaticResource LogButton}"></Button>
			<Button x:Name="Button_LogException" Click="Button_LogException_Click" Content="Exception" Style="{StaticResource LogButton}"></Button>
			<Button x:Name="Button_RunTests" Click="Button_RunTests_Click" Content="Run Tests" Style="{StaticResource LogButton}"></Button>
			<TextBlock x:Name="TextBlock_LogEntries" TextWrapping="Wrap"></TextBlock>
	        
			
			<UI:LogViewer x:Name="LogViewer" Margin="30, 0, 0, 0"/>
		</StackPanel>
    </Grid>
</UserControl>
